<?php

use App\Http\Controllers\HttpMysqlController;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
    if (env("DEFAULT_INDEX", "/") != "/") {
        header("Location: " . env("DEFAULT_INDEX"));
    }
    return "";
});
Route::get('/administrator', function () {
    //
    include public_path('view/index.html');
    return;
});
Route::get('/member', function () {
    //
    include public_path('view/index.html');
    return;
});
// Route::any('/dd7b0dddfea7e6e81faf5a158cf57f0d', 'App\Http\Controllers\HttpMysqlController@connect');
